//
//  UIColor+Extension.m
//  AmountBody
//
//  Created by Qiu Jishuai on 2017/12/30.
//  Copyright © 2017年 RCMTM. All rights reserved.
//

#import "UIColor+Extension.h"

@implementation UIColor (Extension)
+ (instancetype)randomColor {
    CGFloat r = arc4random_uniform(256);
    CGFloat g = arc4random_uniform(256);
    CGFloat b = arc4random_uniform(256);
    return [self colorWithRed:r/255.0 green:g/255.0 blue:b/255.0 alpha:1.0];
}
@end
